package mhuu.view;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;

import javax.swing.BorderFactory;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;

import mhuu.constant.AppConfig;

public class HttpRequestPanel extends JPanel{
	
	
	
	
	public HttpRequestPanel(){ 
		this.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY, 1));
		this.setPreferredSize(new Dimension(AppConfig.MainWindow_width/2, 500));
		this.setLayout(new BorderLayout());
		jPanel.setLayout(new BorderLayout());
		jPanel.add(jLabel,BorderLayout.WEST);
		jPanel.add(jCheckBox,BorderLayout.EAST);
		this.add(jPanel,BorderLayout.NORTH);
		this.add(jScrollPane,BorderLayout.CENTER);
	}
	private JPanel jPanel=new JPanel();
	private JLabel jLabel=new JLabel("请求数据："); 
	public static JCheckBox jCheckBox=new JCheckBox("GZip加密");
	public static JTextArea jTextArea=new JTextArea();{
		jTextArea.setLineWrap(true);
		jTextArea.setText(AppConfig.HttpRequestDefult);
		
	}
	private JScrollPane jScrollPane = new JScrollPane(jTextArea); 
}
